package com.ternnetwork.core.service;

import java.util.List;

import com.ternnetwork.commons.model.http.BaseResponse;
import com.ternnetwork.core.entity.RescRole;
import com.ternnetwork.core.entity.RescRoleId;
import com.ternnetwork.core.enums.ResourcesType;
import com.ternnetwork.core.enums.RoleType;
import com.ternnetwork.core.ui.CheckBoxResourcesZtree;

public interface RescRoleService {
	public void idoUpdateBatch(long resourcesId,String deleteRoleIds,String addRoleIds);
	public void doDeleteBatch(long resourcesId,String deleteRoleIds);
	public void doAddBatch(long resourcesId,String addRoleIds);
	public List<CheckBoxResourcesZtree> getTreeJSON(long roleId,RoleType roleType,ResourcesType resourcesType);
	public BaseResponse idoSave(long roleId,RoleType roleType,ResourcesType resourcesType,String resourcesIds);
	
}
